.class Lcom/xingbook/cinema/d/g;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/xingbook/cinema/d/a;


# direct methods
.method constructor <init>(Lcom/xingbook/cinema/d/a;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/cinema/d/g;->a:Lcom/xingbook/cinema/d/a;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/cinema/d/g;->a:Lcom/xingbook/cinema/d/a;

    invoke-static {v0}, Lcom/xingbook/cinema/d/a;->i(Lcom/xingbook/cinema/d/a;)Landroid/view/View$OnClickListener;

    move-result-object v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/cinema/d/g;->a:Lcom/xingbook/cinema/d/a;

    invoke-static {v0}, Lcom/xingbook/cinema/d/a;->i(Lcom/xingbook/cinema/d/a;)Landroid/view/View$OnClickListener;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/cinema/d/g;->a:Lcom/xingbook/cinema/d/a;

    invoke-static {v1}, Lcom/xingbook/cinema/d/a;->j(Lcom/xingbook/cinema/d/a;)Landroid/widget/ImageView;

    move-result-object v1

    invoke-interface {v0, v1}, Landroid/view/View$OnClickListener;->onClick(Landroid/view/View;)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/xingbook/cinema/d/g;->a:Lcom/xingbook/cinema/d/a;

    invoke-static {v0}, Lcom/xingbook/cinema/d/a;->k(Lcom/xingbook/cinema/d/a;)Landroid/app/Activity;

    move-result-object v0

    instance-of v0, v0, Landroid/app/Activity;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/cinema/d/g;->a:Lcom/xingbook/cinema/d/a;

    invoke-static {v0}, Lcom/xingbook/cinema/d/a;->k(Lcom/xingbook/cinema/d/a;)Landroid/app/Activity;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Activity;->finish()V

    goto :goto_0
.end method
